package com.xt.favorites.admin.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xt.common.utils.PageUtils;
import com.xt.common.utils.Query;

import com.xt.favorites.admin.dao.UserIsFollowDao;
import com.xt.favorites.admin.entity.UserIsFollowEntity;
import com.xt.favorites.admin.service.UserIsFollowService;


@Service("userIsFollowService")
public class UserIsFollowServiceImpl extends ServiceImpl<UserIsFollowDao, UserIsFollowEntity> implements UserIsFollowService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<UserIsFollowEntity> page = this.page(
                new Query<UserIsFollowEntity>().getPage(params),
                new QueryWrapper<UserIsFollowEntity>()
        );

        return new PageUtils(page);
    }

}